/*
 * @Author: your name
 * @Date: 2021-09-06 19:37:28
 * @LastEditTime: 2021-09-06 19:46:50
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \ej-webui\src\store\modules\category.js
 */
import request from '@/utils/request'
export default {
  namespaced: true,
  state() {
    return {

    }
  },
  mutations: {},
  actions: {
    async findAllCategories() {
      let res = await request.get('/productCategory/pageQuery', {
        params: {
          page: 1,
          pageSize: 1000
        }
      })
      return res
    }
  }
}
